﻿<Page
    x:Class="FriendAnalyzer.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FriendAnalyzer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel Orientation="Horizontal" >
            <StackPanel Orientation="Vertical" Width="250" x:Name="spSideBar" HorizontalAlignment="Center"   >
               
                <Button Content="Run Algorithm (full)" HorizontalAlignment="Center" Margin="0 20 0 0"  VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" x:Name="btnRerun" Click="btnRerun_Click_1" FontSize="20">
                </Button>
                <TextBlock TextWrapping="Wrap" Text="Based On :" FontSize="24" Margin="10 10 0 0"/>
                <Border BorderThickness="2" BorderBrush="AliceBlue"/>
                <CheckBox Content="Participated to the same events" Margin="10 10 0 0" IsChecked="True" x:Name="chkSameEvents"/>
                <CheckBox Content="Liking the same pages" Margin="10 10 0 0" IsChecked="True" x:Name="chkLikeSamePages"/>
                <CheckBox Content="Belonging to the same groups" Margin="10 10 0 0" IsChecked="True" x:Name="chkBelongToGroups"/>
                <CheckBox Content="Going out together(check ins)" Margin="10 10 0 0" IsChecked="True" x:Name="chkCheckIns"/>
                <CheckBox Content="Same Gender" Margin="10 10 0 0" IsChecked="True" x:Name="chkSameGender"/>
                <TextBlock TextWrapping="Wrap" Text="Clusters" FontSize="24" Margin="10 10 0 0"/>
                <Slider  x:Name="sldClusters"  Minimum="2" Maximum="12" Margin="10 0 10 0" Value="2"/>
                <TextBlock TextWrapping="Wrap" Text="Developer Options" FontSize="24" Margin="10 100 0 0"/>
                <Border BorderThickness="2" BorderBrush="AliceBlue"/>
                <TextBlock TextWrapping="Wrap" Text="Attraction Force" FontSize="24" Margin="10 10 0 0"/>
                <Slider x:Name="sldAttraction" Minimum="1" Maximum="100" Margin="10 0 10 0" Value="50"/>
                <TextBlock TextWrapping="Wrap" Text="Repulsion Force" FontSize="24" Margin="10 10 0 0"/>
                <Slider  x:Name="sldRepulsion"  Minimum="1" Maximum="100" Margin="10 0 10 0" Value="50"/>
        
                <Button Content="Redraw graph" HorizontalAlignment="Center" Margin="0 10 0 0"  VerticalAlignment="Top"  Visibility="Collapsed"
                        RenderTransformOrigin="0.5,0.5" x:Name="btnDraw" Click="btnDraw_Click_1" FontSize="20">
                </Button>
            </StackPanel>
            <Border BorderThickness="2" BorderBrush="AliceBlue" />
            <Canvas HorizontalAlignment="Left"  Margin="155,10,0,0" VerticalAlignment="Top" x:Name="cnvDrawing"   />
        </StackPanel>

        <ProgressBar x:Name="pbStatus" Margin="295,441,42,0" VerticalAlignment="Top" IsIndeterminate="True" Visibility="Visible" Height="46" />


    </Grid>
</Page>
